package com.by.service;

import com.by.bean.Customer;
import com.by.common.bean.PageBean;
import com.by.common.crud.BaseService;
import com.by.query.CustomerQuery;

public interface CustomerService extends BaseService<Customer> {
    /**
     * 客户列表 分页查询
     * @param query
     * @return
     */
    PageBean queryByMap(CustomerQuery query);

    /**
     * 用户的激活与下机
     * @param id 用户的id
     * @return
     */
    int active(int id);
    int deactivate(int id);
}
